Ian Campbell [Mon, 5 Mar 2007 14:04:45 +0000 (14:04 +0000)]
[LINUX] CONFIG_X86_TSC is defined upstream in arch/i386/Kconfig.cpu so use that
instead of duplicating it in arch/i386/Kconfig.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
kfraser@localhost.localdomain [Mon, 5 Mar 2007 14:00:05 +0000 (14:00 +0000)]
linux 2.6.18: constify instances of 'struct file_operations'
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Mon, 5 Mar 2007 13:57:11 +0000 (13:57 +0000)]
linux 2.6.18: miscellaneous
Various minor changes not fitting elsewhere and not warranting
separate patches.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Mon, 5 Mar 2007 13:49:11 +0000 (13:49 +0000)]
linux 2.6.18: assembly annotations
This adds (or moves to the proper place) annotations paralleling those
added in native code in 2.6.18. To make this look less ugly, it
required moving around a few things.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Mon, 5 Mar 2007 13:33:42 +0000 (13:33 +0000)]
linux 2.6.18: eliminate Xen special: x8664_ksyms.c
The differences of arch/x86_64/kernel/x8664_ksyms-xen.c over its
native original are benign - the Xen special can therefore be
removed.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Mon, 5 Mar 2007 13:32:50 +0000 (13:32 +0000)]
linux 2.6.18: eliminate Xen special: alternative.c
The sole (x86-64 specific) difference of
arch/i386/kernel/alternative-xen.c
over its native original can be eliminated by slightly adjusting
x86-64's make_readonly(), and the Xen special can then be removed.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Mon, 5 Mar 2007 13:30:52 +0000 (13:30 +0000)]
linux 2.6.18: eliminate Xen special: intel_cacheinfo.c
arch/i386/kernel/cpu/intel_cacheinfo-xen.c is identical to
arch/i386/kernel/cpu/intel_cacheinfo.c, hence the Xen special can be
removed.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Mon, 5 Mar 2007 13:27:51 +0000 (13:27 +0000)]
linux/x86-64: allow kernel init memory to be freed.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Mon, 5 Mar 2007 13:18:28 +0000 (13:18 +0000)]
VM.actions_after_[shutdown|reboot|suspend|crash] were not set properly
in VM record returned via Xen API.
This patch fixes typos in key name for these fields.
Signed-off-by: Jim Fehlig <jfehlig@novell.com>
Tim Deegan [Mon, 5 Mar 2007 11:54:55 +0000 (11:54 +0000)]
[XEN] Shadow: fix predicate for when to use up-pointers
which was broken by the introduction of "pinnable" types
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
kfraser@localhost.localdomain [Mon, 5 Mar 2007 11:23:34 +0000 (11:23 +0000)]
xen: Remove bogus file.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Mon, 5 Mar 2007 11:18:55 +0000 (11:18 +0000)]
Merge with xenppc-unstable.hg
Christian Limpach [Mon, 5 Mar 2007 11:17:52 +0000 (11:17 +0000)]
[xen] Fix deferred mmu op logic on invalidate shadow ldt.
On domain destroy, put_page_from_l1e is called on a domain
which is not current.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
kfraser@localhost.localdomain [Mon, 5 Mar 2007 11:14:15 +0000 (11:14 +0000)]
Merge with xenppc-unstable.hg
kfraser@localhost.localdomain [Mon, 5 Mar 2007 10:52:54 +0000 (10:52 +0000)]
xen: Make dom0 domain builder behaviour match that of domU.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Mon, 5 Mar 2007 10:37:01 +0000 (10:37 +0000)]
xen: Fix ACPI SLIT/SRAT parsing to correctly map highmem.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Mon, 5 Mar 2007 10:26:45 +0000 (10:26 +0000)]
linux: Clean up mm_pin/unpin.
Signed-off-by: Keir Fraser <keir@xensource.com>
Christian Limpach [Sat, 3 Mar 2007 20:42:38 +0000 (20:42 +0000)]
[domain builder] Remove unnecessary alignment of virtual address base.
Unbreaks loading NetBSD kernels with the new ^^ domain builder.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
Keir Fraser [Fri, 2 Mar 2007 23:01:36 +0000 (23:01 +0000)]
linux: Some save/restore simplifications and cleanups.
Signed-off-by: Keir Fraser <keir@xensource.com>
Keir Fraser [Fri, 2 Mar 2007 22:57:27 +0000 (22:57 +0000)]
x86/64: Save/restore user pagetable pointer for x86/64 PV guests.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Fri, 2 Mar 2007 16:57:24 +0000 (16:57 +0000)]
Fix -xen build.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Fri, 2 Mar 2007 16:29:48 +0000 (16:29 +0000)]
linux: xenbus dev write function resets packet data on *all* error conditions.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Fri, 2 Mar 2007 16:26:56 +0000 (16:26 +0000)]
linux: Fix xenbus device write function.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Fri, 2 Mar 2007 16:15:28 +0000 (16:15 +0000)]
tpm: Code style cleanups.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Fri, 2 Mar 2007 16:03:21 +0000 (16:03 +0000)]
[Linux] [TPM driver] Resume frontend after checkpointing
This patch implements TPM frontend driver resume after checkpointing a
domain. I also now let the front-end wait for the response from the
TPM until the response is there. A response must come due to the
strict request/response nature of the protocol, but the time until the
responses arrives depends on the type of operation that is executed by
the vTPM. Resending a request is not possible with this type of device.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
kfraser@localhost.localdomain [Fri, 2 Mar 2007 16:00:22 +0000 (16:00 +0000)]
linux: Use old-mode of save/restore for uniproc guests (it's faster).
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Fri, 2 Mar 2007 15:59:12 +0000 (15:59 +0000)]
linux: allow use of split page table locks
This changes netback to use struct page's mapping field instead of the
index one, and the PageForeign logic the other way around. That way,
CONFIG_SPLIT_PTLOCK_CPUS doesn't have to be suppressed anymore for x86.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Fri, 2 Mar 2007 15:32:42 +0000 (15:32 +0000)]
[PVFB][TOOLS] Terminate backend when frontend vanishes early
Ensure the backend terminates when the frontend vanishes before the
connection is established. This happens when the guest doesn't have
the devices.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
kfraser@localhost.localdomain [Fri, 2 Mar 2007 15:12:54 +0000 (15:12 +0000)]
linux/x86: avoid a re-definition warning on x86-64 and change i386
similarly to be consistent.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Fri, 2 Mar 2007 15:10:54 +0000 (15:10 +0000)]
.S->.o generation should depend on asm-offsets.h
While object files generated from C sources should generally not
depend on asm-offsets.h, those generated from assembly sources
should.
Signed-off-by: Jan Beulich <jbeulich@novell.com>
kfraser@localhost.localdomain [Fri, 2 Mar 2007 15:08:26 +0000 (15:08 +0000)]
xend: Fix startup when dom0 does not see all physical cpus.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Fri, 2 Mar 2007 14:57:18 +0000 (14:57 +0000)]
xend: Catch VmError exception when creating a domain and do
appropriate cleanup.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
kfraser@localhost.localdomain [Fri, 2 Mar 2007 14:42:25 +0000 (14:42 +0000)]
acm: Fix bogus domain_rcu_lock() invocations to rcu_unlock_domain().
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
Tim Deegan [Fri, 2 Mar 2007 13:46:39 +0000 (13:46 +0000)]
[XEN] Remove a race condition in shadow mark_dirty code.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
kfraser@localhost.localdomain [Fri, 2 Mar 2007 12:11:52 +0000 (12:11 +0000)]
linux: Support new 'fast suspend' mode which does not require us to
hotplug all auxiliary CPUs.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Fri, 2 Mar 2007 12:11:10 +0000 (12:11 +0000)]
tools: Advertise save/restore multiple VCPU contexts capability.
This capability means that save/restore will remember contexts of all
online VCPUs at the time of final guest suspend. Any initialised but
offline VCPUs will not be saved!
Signed-off-by: Keir Fraser <keir@xensource.com>
Christian Limpach [Fri, 2 Mar 2007 11:25:12 +0000 (11:25 +0000)]
[xenstored] Fix error path when xc_map_foreign_range fails.
If xc_map_foreign_range fails, the new domain object is freed,
but it is not removed from the connection list.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 17:59:17 +0000 (17:59 +0000)]
Save/restore context of all online VCPUs in PV save/restore/migrate.
Signed-off-by: Keir Fraser <keir@xensource.com>
Christian Limpach [Thu, 1 Mar 2007 17:28:31 +0000 (17:28 +0000)]
[tools] Set guest address size to be the same as dom0 address size on restore.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
Christian Limpach [Thu, 1 Mar 2007 17:27:31 +0000 (17:27 +0000)]
[XEN] Check that the cr3 mfn is valid before using it.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 15:56:45 +0000 (15:56 +0000)]
linux: No need to kmem_cache_shrink(pgd_cache) on save/restore.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 14:51:12 +0000 (14:51 +0000)]
Fully reset the xenstore connection when a domain is (re)introduced to xenstored.
Signed-off-by: Keir Fraser <keir@xensource.com>
Tim Deegan [Thu, 1 Mar 2007 14:00:05 +0000 (14:00 +0000)]
[HVM] Save/restore: remove bogus "valid state" check
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 13:57:25 +0000 (13:57 +0000)]
hvm: Clean up console-information passing via xenstore.
Each serial, parallel and monitor device in qemu that is connected to
a pty creates a xenstore node of the form:
<domain-path>/monitor/tty
<domain-path>/serial/<n>/tty
<domain-path>/parallel/<n>/tty
In addition, serial/0 (com1) also registers its information at:
<domain-path>/console/tty
Also fix a realloc() failure memory leak.
Signed-off-by: Ben Thomas <ben@virtualiron.com>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 13:48:31 +0000 (13:48 +0000)]
Fix Xend domain_lookup error report when looking up an invalid
domain: raise the correct error code (XendInvalidDomain instead of
XendError). Also remove redundance exception code that is handled by
domain_lookup.
Signed-off-by: Yung Giang <ygiang@gmail.com>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 13:45:53 +0000 (13:45 +0000)]
acm: Fix the traversal of the event channel buckets and use the active
grant table entries instead of the shared ones. I had to move some
functions from grant_table.c into grant_table.h to make them usable by
the ACM module.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 12:23:44 +0000 (12:23 +0000)]
Create P2M map during Mini-OS boot (fixes 'xm dump-core').
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 12:23:04 +0000 (12:23 +0000)]
Fix PAE Mini-OS build.
Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 12:14:53 +0000 (12:14 +0000)]
x86: No need to take full reference when doing mmu_update on a foreign
domain. Also fix a pre-existing race setting PGT_pinned versus
clearing it during domain_kill().
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 11:38:55 +0000 (11:38 +0000)]
xen: Cleanups and bug fixes after the rcu_lock_domain patch.
Signed-off-by: Keir Fraser <keir@xensource.com>
Tim Deegan [Thu, 1 Mar 2007 11:08:49 +0000 (11:08 +0000)]
Remove Xen workaround for HVM builder now that it's fixed
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Tim Deegan [Thu, 1 Mar 2007 11:04:45 +0000 (11:04 +0000)]
Merge
Tim Deegan [Thu, 1 Mar 2007 11:04:23 +0000 (11:04 +0000)]
[HVM] Builder must know which kind of vcpu context struct to use
when the tools are being run in a compat-mode domain
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 10:44:40 +0000 (10:44 +0000)]
xen: Use RCU-based domain-locking functions where appropriate.
Signed-off-by: Jose Renato Santos <jsantos@hpl.hp.com>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 10:32:52 +0000 (10:32 +0000)]
xen: Last minute rename of RCU domain get/put functions:
find_domain_rcu_lock -> rcu_lock_domain_by_id
domain_rcu_unlock -> rcu_unlock_domain
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 10:24:19 +0000 (10:24 +0000)]
hvm/ia64: Fix IDE PIO acceleration.
Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
kfraser@localhost.localdomain [Thu, 1 Mar 2007 10:01:51 +0000 (10:01 +0000)]
Change compat-check in set_vcpucontext again. Give caller leeway for
HVM guests only.
Signed-off-by: Keir Fraser <keir@xensource.com>
Tim Deegan [Thu, 1 Mar 2007 09:52:40 +0000 (09:52 +0000)]
[XEN] Fix cset 14166
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Wim Colgate [Wed, 28 Feb 2007 20:35:36 +0000 (12:35 -0800)]
Use stat to poll on phantom device until it becomes ready
Signed-off by Wim Colgate <wim@xensource.com>
kfraser@localhost.localdomain [Wed, 28 Feb 2007 18:15:42 +0000 (18:15 +0000)]
libxc: Quieten the discard_file_cache() function. Preserve errno
across it. No longer make calls to the function dependent on 'non-live
save/restore': it's not a good test of whether the fd is a socket.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 28 Feb 2007 18:06:56 +0000 (18:06 +0000)]
Fix init.d/xendomains startup script so log_error and log_success
will also work on redhat-based distributions before RHEL 5. See
discussion "xendomains init script" about a year ago on xen-devel.
Signed-off-by: Florian Kirstein <ray@ray.net>
kfraser@localhost.localdomain [Wed, 28 Feb 2007 17:55:19 +0000 (17:55 +0000)]
linux: More save/restore fixes. Fix deadlock of cpu_hotplug_lock vs
workqueue_mutex. This is a new deadlock since the workqueue_mutex is
acquired in the workqueue_cpu_calbback() function across
CPU_UP_PREPARE->CPU_ONLINE.
The fix is for us not to rudely grab the cpu_hotplug_lock() during
save/restore -- it's really not necessary.
This patch is applicable to any of our 2.6 kernels, but is absolutely
required from 2.6.18 onwards.
Signed-off-by: Keir Fraser <keir@xensource.com>
George Dunlap [Wed, 28 Feb 2007 16:13:49 +0000 (11:13 -0500)]
[XEN][SHADOW] Use slow method for early-unshadow
The "fast" method fails a significant portion of the time.
unshadow will still use the "fast" method, but will fall
back to a brute-force method if it fails.
Signed-off-by: George Dunlap <gdunlap@xensource.com>
George Dunlap [Wed, 28 Feb 2007 16:11:22 +0000 (11:11 -0500)]
[XEN][SHADOW] Fix early-unshadow logic.
Make sure to reset the early-unshadow logic when we
do a fast-path propagate or when we emulate a non-zero
write.
Signed-off-by: George Dunlap <gdunlap@xensource.com>
kfraser@localhost.localdomain [Wed, 28 Feb 2007 14:44:52 +0000 (14:44 +0000)]
hvm: Only do hvm_disable() on HVM-enabled systems.
Original patch by Jan Beulich.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 28 Feb 2007 14:34:25 +0000 (14:34 +0000)]
linux: Disable idle-loop alternatives.
ACPI and APM idle functions in particular are not suitable choices
when running on Xen.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 28 Feb 2007 14:26:26 +0000 (14:26 +0000)]
linux: Split suspend_mutex into watch_mutex and transaction_mutex.
This clarifies their usage and relationship with request_mutex and
response_mutex.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 28 Feb 2007 14:13:09 +0000 (14:13 +0000)]
More PV save/restore fixes.
Related changesets:
14148:
b67c253d1cdb4f502dec2
13519:
b4a8000e76db6b4b27341
These three changesets must be applied as a set!
Signed-off-by: Keir Fraser <keir@xensource.com>
Tim Deegan [Wed, 28 Feb 2007 13:22:20 +0000 (13:22 +0000)]
Fix 32-bit x86 compile
Tim Deegan [Wed, 28 Feb 2007 13:19:16 +0000 (13:19 +0000)]
[XEN] Compat-mode dom0 always provides compat vcpu_guest_context structs.
Update arch_set_info_guest to do the right thing.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Tim Deegan [Wed, 28 Feb 2007 13:17:27 +0000 (13:17 +0000)]
[XEN] Make the compat-mode l4 page table look more like a page table
and remove some special-case code in the shadows.
Signed-off-by: Tim Deegan <Tim.Deegan@xensource.com>
Christian Limpach [Wed, 28 Feb 2007 10:40:52 +0000 (10:40 +0000)]
[XEN] No need to change the compat mode of the guest in xen.
The tools set the compat mode already explicitly.
Signed-off-by: Christian Limpach <Christian.Limpach@xensource.com>
kfraser@localhost.localdomain [Wed, 28 Feb 2007 09:44:59 +0000 (09:44 +0000)]
Loop on actual elfnote array size rather than depending on ELFNOTE_MAX
macro.
Signed-off-by: Keir Fraser <keir@xensource.com>
kfraser@localhost.localdomain [Wed, 28 Feb 2007 09:41:02 +0000 (09:41 +0000)]
Add suspend_cancel flag to linux elf notes.
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
kfraser@localhost.localdomain [Wed, 28 Feb 2007 09:39:23 +0000 (09:39 +0000)]
Add xm save -c/--checkpoint option
xm save --checkpoint leaves the domain running after creating the
snapshot.
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
kfraser@localhost.localdomain [Wed, 28 Feb 2007 09:39:03 +0000 (09:39 +0000)]
Let xend choose to do hard or soft domain resumption depending on
whether the domain advertises support for soft resumption in its
elfnotes.
Signed-off-by: Brendan Cully <brendan@kublai.com>
kfraser@localhost.localdomain [Wed, 28 Feb 2007 09:38:14 +0000 (09:38 +0000)]
Fix off-by-one preventing the last elfnote from being read in xc.c.
Signed-off-by: Brendan Cully <brendan@cs.ubc.ca>
kfraser@localhost.localdomain [Tue, 27 Feb 2007 20:27:18 +0000 (20:27 +0000)]
Add openssl-dev and xorg-x11-dev to README
Attached is a documentation patch to the top-level README file; it
just adds two notes saying that you need to have openssl-devel and
xorg-x11-devel installed to successfully complete a "make world" at
the top level.
Signed-off-by: Chris Lalancette <clalance@redhat.com>
kfraser@localhost.localdomain [Tue, 27 Feb 2007 20:22:36 +0000 (20:22 +0000)]
[XEN] [ACM] Simplify the event channel scanning
This patch simplifies the scanning of a domain's event channels
considering that an 'ECS_UNBOUND' event channel is not connected and
can be skipped.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
kfraser@localhost.localdomain [Tue, 27 Feb 2007 16:13:08 +0000 (16:13 +0000)]
Fix for Solaris compile/output for VBDs in xentop.
Signed-off-by: John Levon <john.levon@sun.com>
Ian Campbell [Tue, 27 Feb 2007 15:40:37 +0000 (15:40 +0000)]
merge
Ian Campbell [Tue, 27 Feb 2007 15:39:08 +0000 (15:39 +0000)]
[TOOLS] Add support for XEN_ELFNOTE_L1_MFN_VALID to readnotes.
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
kfraser@localhost.localdomain [Tue, 27 Feb 2007 15:34:55 +0000 (15:34 +0000)]
Accelerate IDE PIO on HVM/IA64 [3/3]
Add a bufferring mechanism for IDE PIO in a hypervisor.
Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
kfraser@localhost.localdomain [Tue, 27 Feb 2007 15:34:24 +0000 (15:34 +0000)]
Accelerate IDE PIO on HVM/IA64 [2/3]
Add one more page to the guest for IDE PIO.
Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
kfraser@localhost.localdomain [Tue, 27 Feb 2007 15:33:25 +0000 (15:33 +0000)]
Accelerate IDE PIO on HVM/IA64 [1/3]
Add a bufferring mechanism for IDE PIO in qemu.
Signed-off-by: Kouya Shimura <kouya@jp.fujitsu.com>
Steven Hand [Tue, 27 Feb 2007 14:33:07 +0000 (14:33 +0000)]
Fix save/restore (and non-live migrate) on PAE.
Plus add some more debug output to help us spot similar issues in the future.
Signed-off-by: Steven Hand <steven@xensource.com>
Ewan Mellor [Tue, 27 Feb 2007 13:58:40 +0000 (13:58 +0000)]
Added SXP pretty-printer.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
kfraser@localhost.localdomain [Tue, 27 Feb 2007 13:43:01 +0000 (13:43 +0000)]
linux: Don't allow partial message raeds from xenstore across
save/restore. This patch is an essential companion to
13519:
b4a8000e76db6b4b27341.
Signed-off-by: Keir Fraser <keir@xensource.com>
Ewan Mellor [Tue, 27 Feb 2007 11:19:25 +0000 (11:19 +0000)]
Fix exception handling to cope with exceptions that do not have a string as
the first argument.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
George Dunlap [Tue, 27 Feb 2007 11:06:29 +0000 (06:06 -0500)]
[TOOLS] Make xentrace help a little more informative.
Signed-off-by: George Dunlap <gdunlap@xensource.com>
George Dunlap [Tue, 27 Feb 2007 11:02:32 +0000 (06:02 -0500)]
Merge
George Dunlap [Tue, 27 Feb 2007 11:01:35 +0000 (06:01 -0500)]
[TOOLS] Added option to xentrace to discard records in the buffer
before beginning the trace.
Signed-off-by: George Dunlap <gdunlap@xensource.com>
kfraser@localhost.localdomain [Tue, 27 Feb 2007 11:00:36 +0000 (11:00 +0000)]
x86: Fix BUG() crash in mm.c.
Signed-off-by: Keir Fraser <keir@xensource.com>
Ewan Mellor [Tue, 27 Feb 2007 01:52:27 +0000 (01:52 +0000)]
Fix missing bits of the docs from cset 14020, and match that change by removing
the similar fields on host_metrics, PIF_metrics, and VM_guest_metrics.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Tue, 27 Feb 2007 01:05:32 +0000 (01:05 +0000)]
Implementation of host_metrics.get_all, PIF_metrics.get_all, and docs and
bindings for many of the get_all methods elsewhere that Xend already
implemented.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Ewan Mellor [Tue, 27 Feb 2007 00:37:27 +0000 (00:37 +0000)]
Added some more fields to host_cpu.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
Tim Deegan [Mon, 26 Feb 2007 17:20:36 +0000 (17:20 +0000)]
[HVM][SVM] Save/Restore: Remove commented out code
Code not needed by SVM as the "VM_ENTRY_CONTROLS" register doesn't
exist.
Signed off: Mats Petersson (mats.petersson@amd.com)
kfraser@localhost.localdomain [Mon, 26 Feb 2007 17:05:10 +0000 (17:05 +0000)]
Missing files from previous changeset.
Signed-off-by: Thomas Friebel <thomas.friebel@amd.com>
kfraser@localhost.localdomain [Mon, 26 Feb 2007 17:04:39 +0000 (17:04 +0000)]
[xentrace][HVM] introduce HVM tracing to unify SVM and VMX tracing
* new tracing class TRC_HVM replacing TRC_VMX
* 20 new trace events to differentiate the information carried by them
** added corresponding trace points in SVM and VMX code
** updated formats file: descriptive formatting of trace event data
** completely replacing previous simple tracing in VMX
* possibility to toggle single events on and off at compile time in
include/asm-x86/hvm/trace.h
Signed-off-by: Thomas Friebel <thomas.friebel@amd.com>
kfraser@localhost.localdomain [Mon, 26 Feb 2007 16:27:35 +0000 (16:27 +0000)]
x86: Update map_pages_to_xen() to avoid arithmetic based on
uninitialised frame_table variable.
Signed-off-by: Keir Fraser <keir@xensource.com>